package com.edu.study.base.lmsOrderItem.mapper;

import java.util.List;
import com.edu.study.base.lmsOrderItem.domain.LmsOrderItem;
import org.apache.ibatis.annotations.Param;

/**
 * LmsOrderItemMapper接口
 * 
 * @author zw
 * @date 2021-08-11
 */
public interface LmsOrderItemMapper 
{
    /**
     * 查询LmsOrderItem
     * 
     * @param id LmsOrderItemID
     * @return LmsOrderItem
     */
    public LmsOrderItem selectLmsOrderItemById(Long id);

    /**
     * 查询LmsOrderItem列表
     * 
     * @param lmsOrderItem LmsOrderItem
     * @return LmsOrderItem集合
     */
    public List<LmsOrderItem> selectLmsOrderItemList(LmsOrderItem lmsOrderItem);

    /**
     * 新增LmsOrderItem
     * 
     * @param lmsOrderItem LmsOrderItem
     * @return 结果
     */
    public int insertLmsOrderItem(LmsOrderItem lmsOrderItem);

    /**
     * 修改LmsOrderItem
     * 
     * @param lmsOrderItem LmsOrderItem
     * @return 结果
     */
    public int updateLmsOrderItem(LmsOrderItem lmsOrderItem);

    /**
     * 删除LmsOrderItem
     * 
     * @param id LmsOrderItemID
     * @return 结果
     */
    public int deleteLmsOrderItemById(Long id);

    /**
     * 批量删除LmsOrderItem
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteLmsOrderItemByIds(Long[] ids);

	public List<LmsOrderItem> selectLmsOrderItemByMemberId(@Param("memberId") String memberId, @Param("productName") String productName);
}
